package com.sms.biz.impl;

import java.util.List;
import java.util.Map;

import com.sms.biz.IUserInfoSmsBiz;
import com.sms.dao.IUserInfoSmsDAO;
import com.sms.po.UserInfoSms;

public class UserInfoSmsBizImpl implements IUserInfoSmsBiz {
	private IUserInfoSmsDAO iuisd = null;

	public IUserInfoSmsDAO getIuisd() {
		return iuisd;
	}

	public void setIuisd(IUserInfoSmsDAO iuisd) {
		this.iuisd = iuisd;
	}

	@Override
	public boolean addUserInfoSms(UserInfoSms uis) {
		return iuisd.addUserInfoSms(uis);
	}

	@Override
	public UserInfoSms findById(String id) {
		return iuisd.findById(id);
	}

	@Override
	public UserInfoSms findByIdAndPass(String id, String pass) {
		return iuisd.findByIdAndPass(id, pass);
	}

	@Override
	public List<UserInfoSms> findByMap(Map<String, Object> map,int start,int limit) {
		return iuisd.findByMap(map, start, limit);
	}

	@Override
	public int findByMapCount(Map<String, Object> map) {
		return iuisd.findByMapCount(map);
	}

	@Override
	public List<UserInfoSms> findByType(String type, int start, int limit) {
		return iuisd.findByType(type, start, limit);
	}

	@Override
	public int findByTypeCount(String type) {
		return iuisd.findByTypeCount(type);
	}

	@Override
	public List<UserInfoSms> findSubUserById(String user_id,int start,int limit) {
		return iuisd.findSubUserById(user_id, start, limit);
	}

	@Override
	public int findSubUserByIdCount(String user_id) {
		return iuisd.findSubUserByIdCount(user_id);
	}

	@Override
	public boolean removeUserInfoSms(UserInfoSms uis) {
		return iuisd.removeUserInfoSms(uis);
	}

	@Override
	public boolean removeUserInfoSmsById(String ui) {
		return iuisd.removeUserInfoSmsById(ui);
	}

	@Override
	public boolean updateUserInfoSms(UserInfoSms uis) {
		return iuisd.updateUserInfoSms(uis);
	}

	@Override
	public List<String> findSubUserIds(String parentUserId) {
		return iuisd.findSubUserIds(parentUserId);
	}

}
